﻿using Microsoft.EntityFrameworkCore.ChangeTracking;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Base.EFCore.Base
{
    public class BaseEntity
    {
        [Key]
        public Guid Id { get; set; }
        public bool IsDelete { get; set; }
        public DateTime? CreateTime { get; set; }
        public DateTime? UpdateTime { get; set; }


        public virtual void BeginSave(EntityEntry e)
        {

        }

        public virtual void EndSave()
        {

        }
    }
}
